<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit" />
	<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />
	<title>题库管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/login8.css" />
</head>
<style>
	.html{
		margin:0;
		padding:0;
	}
	#wrap{
		background: url("/images/bg2.jpg");
	}
	.login_box_dec{
		width: 500px;
		margin-left: 50%;
		margin-top: 260px;
		padding:50px 5px;
		text-align: center;
		background-color: #fff
	}
	#msg{
		height: 40px;
		color: green;
	}
	.btn-disabled{
		background-color: gray!important;
	}
</style>
<body>
<div id="wrap">
	<div id="container">
		<form th:action="@{/login}" method="post">
			<div style="padding: 5px;">
				<div class="login_box login_box_dec">
					<img style="width: 380px" src="/images/logo_0_0.png">
					<h1>题库管理系统登录</h1>
					<br>
					<input name="password" v-model="password" type="hidden">
					<div class="item"><input id="code" name="code" tabindex="1" type="text" class="input input1" autocomplete="off" placeholder="账号" autofocus/></div>
					<div class="item"><input id="password2" name="password2" tabindex="2" type="password" v-model="password2" class="input input2" placeholder="密码" autocomplete="off"/></div>
					<div id="msg">{{msg}}</div>
					<div class="btnbox"><input name="submit"  type="submit" value="登 录" class="btn" /></div>
					<div><a style="color: #2E8B57;text-decoration: none" href="https://www.gzxundu.com/" target="_blank">技术支持：讯度科技</a></div>
				</div>

			</div>
		</form>
	</div>

</div>
<form action="/mss" method="post" id="submitform">
	<input type="hidden" name="gopage" value="sys_index">
</form>
<script src="js/encrypt.js"></script>
<script src="js/jquery.js"></script>
<script src="js/vue.min.js"></script>
<script type="text/javascript">
	Vue.directive('focus', {
		inserted: function (el) {
			el.focus()
		}
	})
	var vm = new Vue({
		el: '#wrap',
		data: {
			msg: `[[${msg}]]`,
			password: "",
			password2:''
		}
	})
	vm.$watch('password2', function(nval, oval) {
		this.password = encrypt(nval);
	});
</script>
</body>
</html>